package com.bbm.communitysystem.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author transitory
 * @since 2025-02-20
 */
@Data
@TableName("comment")
public class Comment  {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /***
     *用户id
     */
    private Integer userId;

    /***
     *文件id
     */
    private Integer ossId;

    /***
     *帖子id
     */
    private Integer postId;

    /***
     *评论层级 顶层则不设置
     */
    private Integer stepId;

    /***
     *评论内容
     */
    private String content;

    /***
     *创建时间
     */
    private String createTime;

    /***
     *点赞数量
     */
    private Integer commentLike;

    /***
     *评论数量
     */
    private Integer comment;

    /***
     *0删除1正常发评
     */
    private Integer status;


}
